package com.april.product.service;

import com.april.common.utils.PageUtils;
import com.april.product.entity.AttrGroupEntity;
import com.april.product.entity.Category;
import com.april.product.model.vo.AttrGroupVo;
import com.april.product.model.vo.CategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author april
 * @email 2673888518@qq.com
 * @date 2023-07-13 00:31:15
 */
public interface CategoryService extends IService<Category> {

    PageUtils queryPage(Map<String, Object> params);

    //查出分类树
    List<CategoryVo> listWithTree();

    void removeMenuByIds(List<Long> list);

    //cateLogId的完整路径拼接
    AttrGroupVo findCateLogPath(AttrGroupEntity attrGroup);
}

